package com.nageoffer.shortlink.project.service;

import java.io.IOException;
import java.net.MalformedURLException;

/**
 * 标题接口层
 */
public interface UrlTitleService {
    /**
     *根据url获取标题
     * @param url
     * @return
     */
    String getTitleByUrl(String url) throws IOException;
}
